Drupal twig get value of entity reference field

45

Drupal twig get value of entity reference field -

node.field_example.entity.name.value {# Get the name of entity #}
node.field_example.entity.id {# Get the ID of entity #}

Comments

Submit
0 Comments